package entity

import (
	"shqsoft.cn/pasnj/base"
)

//对公存款认定分户情况
type MinDivi struct {
	ID   int     `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	ACID int     `gorm:"column:ACID"`  //帐户序号
	DSTY int     `gorm:"column:DSTY"`  //分户方式
	EMID int     `gorm:"column:EMID"`  //员工序号
	DSVL float64 `gorm:"column:DSVL"`  //分户值
	DSEM string  `gorm:"column:DSEM"`  //分户员工
	WOEM *string `gorm:"column:WOEM";` //销户员工
	ISWO bool    `gorm:"column:ISWO"`  //是否删除
}

//TableName 对公存款认定分户情况
func (MinDivi) TableName() string {
	return "T_MIN_OPER_DIVI"
}
func MinDiviEF() base.EntityFunc {
	return func() interface{} {
		entity := MinDivi{}
		return &entity
	}
}
func MinDiviESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []MinDivi
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("MinDivi", base.NewDefaultDao(MinDiviEF(), MinDiviESF(), nil))
}
